#ifndef NODELIST_H_
#define NODELIST_H_

#include <assert.h>
#include "Functions.h"
#include "../utils/Constantes.h"

class NodeList {
private:
	TermYFrecQuery* element;
	NodeList* prevNode;
	NodeList* nextNode;
public:
	NodeList();
	NodeList(TermYFrecQuery*);
	virtual ~NodeList();

	void setElement(TermYFrecQuery* element);
	TermYFrecQuery* getElement();

	void setPrevNode(NodeList* prevNode);
	NodeList* getPrevNode();

	void setNextNode(NodeList* nextNode);
	NodeList* getNextNode();

	void dispose();
};



#endif /* NODELIST_H_ */
